import { NgModule, CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA } from '@angular/core';
import { AppSharedModule } from '@app/shared/app-shared.module';
import { AppCommonModule } from '@app/shared/common/app-common.module';
import { UtilsModule } from '@shared/utils/utils.module';
import { LayoutEditorComponent } from './layout-editor.component';
import { DragDropModule } from '@angular/cdk/drag-drop';
import { DragDropService } from './drag-drop.service';
import { HtmlEditorModalComponent } from './html-editor-modal.component';
import { CKEditorModule } from '@app/shared/common/ckeditor/ckeditor.module';
import { TextEditorModalComponent } from './Text-editor-modal.component';
import { HeadingEditorModalComponent } from './Heading-editor-modal.component';
import { editPropertiesModalComponent } from './edit-properties-modal.component';
import { InputSwitchModule} from 'primeng/inputswitch';
import { SelectChildModalComponent } from './select-child-modal.component';
import { editStyleComponent } from './edit-style.component';
import {InputNumberModule} from 'primeng/inputnumber';
import {ColorPickerModule} from 'primeng/colorpicker';
import {ButtonModule} from 'primeng/button';
import { editMobileStyleComponent } from './edit-mobile-style.component';

@NgModule({
    imports: [
        UtilsModule,
        AppCommonModule,
        AppSharedModule,
        DragDropModule,
        CKEditorModule,
        InputSwitchModule,
        InputNumberModule,
        ColorPickerModule,
        ButtonModule
    ],
    declarations: [
        LayoutEditorComponent,
        HtmlEditorModalComponent,
        TextEditorModalComponent,
        HeadingEditorModalComponent,
        editPropertiesModalComponent,
        SelectChildModalComponent,
        editStyleComponent,
        editMobileStyleComponent
    ],
    exports: [
        LayoutEditorComponent
    ],
    schemas: [
      CUSTOM_ELEMENTS_SCHEMA,
      NO_ERRORS_SCHEMA
    ],
    providers:[DragDropService]
})
export class LayoutEditorModule { 
    
}
